package DB;

import static org.junit.Assert.*;

import org.junit.Test;
public class DBConTest {

	@Test
	public void testGetInstance() {
		DBCon dbCon = DBCon.getInstance();
		//IFDBBook dbBook = new DBBooking();
		if (dbCon != null) {
			System.out.println("Connection to DB is ok");
			
			//dbBook.createBooking(0, "2014-01-25T14:25:00", 0, 0);
			
			/*
			int i =1;
			while(i<5)
			{dbBook.deleteBooking(i);
			i++;
			}*/
		} else {
			fail("Not yet implemented");
		}

	}
}